From 67008a8144cba116a5f1fa9fe21f7908a05c6cf5 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Sat, 8 Feb 2003 17:32:45 +0000 Subject: [PATCH] bitkeeper revision 1.22.2.6 (3e453f3dCn57Rsy_s15t0vEHA2Pbbw) Build image with "-g" to enable debuging symbols, then generate an "image.s" file that is the source annotated assembler. I've made this the default. --- xen-2.4.16/Makefile | 1 + xen-2.4.16/Rules.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen-2.4.16/Makefile b/xen-2.4.16/Makefile index 846c0e6f12..82837d99a1 100644 --- a/xen-2.4.16/Makefile +++ b/xen-2.4.16/Makefile @@ -5,6 +5,7 @@ include Rules.mk default: $(TARGET) gzip -f -9 < $(TARGET) > $(TARGET).gz + objdump -D -S image >image.s install: $(TARGET) gzip -f -9 < $(TARGET) > $(TARGET).gz diff --git a/xen-2.4.16/Rules.mk b/xen-2.4.16/Rules.mk index 5a33804410..8bea789439 100644 --- a/xen-2.4.16/Rules.mk +++ b/xen-2.4.16/Rules.mk @@ -27,7 +27,7 @@ HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer include $(BASEDIR)/arch/$(ARCH)/Rules.mk %.o: %.c $(HDRS) Makefile - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) -g $(CFLAGS) -c $< -o $@ %.o: %.S $(HDRS) Makefile $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $@ -- 2.30.2